﻿using ERPSystem.Common.BaseEntitys;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPSystem.Common.DTO
{
    public class ReturnNoticesDTO:BaseEntity
    {

        /////////////////////////// 退票通知单表
        /// <summary>
        /// 退票通知单表主键编号
        /// </summary>
        public int ReturnNoticesId { get; set; }
        /// <summary>
        /// 退票通知单单据编号
        /// </summary>
        public string ReturnNumber { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public string BusinessTypeId { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string Warehouseld { get; set; }
        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime DocumentsDate { get; set; }
        /// <summary>
        /// 操作员
        /// </summary>
        public string Operator { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string ClientName { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public string Documentstatus { get; set; }
        /// <summary>
        /// 退货原因
        /// </summary>
        public string ReturnReason { get; set; }
        /// <summary>
        /// 业务状态
        /// </summary>
        public string BusinessstateId { get; set; }
        /// <summary>
        /// 处理方式
        /// </summary>
        public string Processing { get; set; }

        /// <summary>
        /// 流水号
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string? ThSerialnumber { get; set; }
      


        ///////////////////退票物料表
        /// <summary>
        /// 退票物料表主键编号
        /// </summary>
        public int ReturnmaterialId { get; set; }
        /// <summary>
        /// 销售订单号（销售订单编码外键）
        /// </summary>
        public string Documentnumber { get; set; }
        /// <summary>
        /// 发货单号（发货编码外键）
        /// </summary>
        public string DocumentNumbers { get; set; }
        /// <summary>
        /// 物料编码(外键 与物料表关联)
        /// </summary>
        public string ItemBianma { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 型号规格
        /// </summary>
        public string Specifications { get; set; }
        /// <summary>
        /// 主计量
        /// </summary>
        public string Measurenum { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int ReturnShulnum { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public int BeginNumbere { get; set; }
        /// <summary>
        /// 批号
        /// </summary>
        public string PiHao { get; set; }

    }
}
